var express = require('express');
var router = express.Router();
const {
  getTests,
  getOneTests
} = require('./../controlers/testControler');

/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});

router.post('/getTests', getTests);

router.post('/getOneTests', getOneTests);

module.exports = router;
